package com.nandi.deviceinstall.contract

import com.nandi.deviceinstall.base.BaseView
import com.nandi.deviceinstall.bean.BaseObjectBean
import com.nandi.deviceinstall.bean.LoginBean

import io.reactivex.Flowable
import okhttp3.ResponseBody


interface UploadSuccessEquipmentContract {
    interface Model {

        fun executeDownPic(token: String, path: String): Flowable<ResponseBody>
    }

    interface View : BaseView {
        override fun showLoading()

        override fun hideLoading()

        override fun onError(msg: String, code: Int)

        fun downPicSuccess(result: ResponseBody, fileName: String)
    }

    interface Presenter {
        fun requestDownPic(token: String, path: String)
    }
}
